*{
	margin: 0;
	padding: 0;
	list-style: none;
}

/* @media screen and (width:320px){
	html{
		font-size: 16px;
	}
}
@media screen and (width:640px){
	html{
		font-size: 32px;
	}
} */
body{
	width: 100%;
	background-color: rgb(255,255,255);
	margin: 0 auto;
	line-height: 1.5;
	color: #666;
	min-width: 320px;
	max-width: 640px;
}
/* 头部 */
header{
	width: 100%;
	height: 250px;
	position: relative;
	background-color: white;
}
h3{
	text-align: center;
	padding: 10px 0;
	/* position: sticky;
	top: 0;
	z-index: 2;
	background-color: white; */
}
.search{
	width: 90%;
	height: 44px;
	margin: 0 auto;
	border-radius: 20px;
	background-color: rgb(245,245,245);
/* 	position: sticky;
	top: 44px;
	z-index: 2; */
}
.search input{
	border: 0;
	border-radius: 20px;
	outline: none;
	width: 90%;
	height: 100%;
	margin-left: 10%;
	background-color:rgb(245,245,245);
}
.search:before{
	content: '';
	display: block;
	width: 28px;
	height: 28px;
	position: absolute;
	background: url(../image/search.png) no-repeat;
	background-size: 70%;
	top: 23%;
	left: 8%;
}
header p{
	font: 18px/20px bold;
	padding: 2% 0 0 6%;
}
header p::after{
	content: '';
	display: block;
	position: absolute;
	border-top: 2px solid rgb(245,36,36);
	width: 4%;
	left: 8%;
	top: 48%;
}
.slide{
	width: 98%;
	height: 120px;
	background: url(../image/ad.png) no-repeat;
	background-size: 100%;
	margin: 5px auto;
	border-radius: 20px;
}
/* 菜单栏 */
main{
	width: 100%;
	height: 700px;
}
/* 左侧 */
.left-container{
	width: 25%;
	display: flex;
	float: left;
	flex-direction: column;
	height: 100%;
	text-align: center;
	overflow-y: auto;
}
.left-container li{
	display: inline-block;
	width: 100%;
	flex: 1;
	font-size: 16px;
	line-height: 50px;
	background-color: rgb(245,245,245);
}
/* .cur{
	background-color: white;
	color: rgb(219,55,43)
} */
.left-container li:hover{
	background-color: white;
	color: rgb(219,55,43)
}
/* 右侧 */
.right-container{
	width: 75%;
	float: left;
	display: flex;
	height: 100%;
	flex-direction: column;
	overflow-y: auto;
}
.right-container li{
	flex: 1;
	display: flex;
	margin: 5px 0;
}
.right-container li .food-pic{
	flex: 1;
	background: url(../image/img.png) no-repeat;
	background-size: 100%;
	border-radius: 20px;
	margin-right: 5px;
}
.right-container li .food-txt{
	flex: 2;
	position: relative;
}
.right-container li .food-txt p:nth-child(1){
	font: 16px bold;
	height: 41.33px;
}
.right-container li .food-txt p:nth-child(2){
	font-size: 10px;
	color: rgb(181,181,181);
	height: 36px;
}
.right-container li .food-txt span{
	font-size: 18px;
	color: rgb(219,55,43);
}
.right-container li .food-txt span::after{
	content: '';
	display: block;
	width: 30px;
	height: 30px;
	position: absolute;
	right: 5%;
	bottom:0;
	background: url(../image/jia.png) no-repeat;
	background-size: 80%;
}
/* .right-container li:nth-child(1) .food-txt span::after{
	content: '选规格';
	background-image: none;
	display: block;
	width: 60px;
	height: 20px;
	background-color: rgb(219,55,43);
	color: white;
	font-size: 13px;
	text-align: center;
	border-radius: 20px;
} */
 .right-container li:nth-child(1) .food-txt span::after{
	 content: '';
	 background-image: none;
 }
 .right-container li:nth-child(1) .food-txt button{
	 width: 60px;
	 height: 20px;
	 font-size: 13px;
	 border-radius: 20px;
	 background-color: rgb(219,55,43);
	 border: 0;
	 color: white;
	 position: absolute;
	 right: 10%;
	 top: 80%;
	 outline-style: none; /* 使按钮按下时没有样式 */
}
footer{
	display: flex;
	width: 100%;
	height: 60px;
	justify-content: space-around;
	align-items: center;
	position: sticky;
	bottom: 0;
	background-color: white;
}
footer div{
	width: 20%;
	text-align: center;
}
footer div img{
	height: 30%;
	width: 30%;
}
/* 订单详情页 */
#sec{
	width: 100%;
	height: 100%;
	position: fixed;
	bottom: 0;
	display: none;
}
.sec-wrap{
	width: 100%;
	height: 100%;
	background-color: rgb(0,0,0,0.4);
	position: relative;
}
.sec-con{
	width: 100%;
	height: 60%;
	position: absolute;
	bottom: 0;
	background-color: white;
	border-radius: 20px 20px 0 0;
}
.dishes{
	width: 95%;
	height: 20%;
	margin: 2% auto;
}
.dishes .dishes-img{
	background: url(../image/img.png) no-repeat;
	background-size: 100%;
	width: 25%;
	height: 95%;
	float: left;
	margin: auto;
	border-radius: 20px;
}
.dishes .dishes-txt{
	width: 70%;
	height: 95%;
	float: right;
}
.dishes .dishes-txt p:nth-child(1){
	width: 80%;
	float: left;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font:bold 16px/20px arial;
}
.dishes .dishes-txt p:nth-child(3){
	font: 12px/18px arial;
}
.dishes-txt span{
	display: inline-block;
	font:bold 14px/70px arial;
	color: rgb(219,55,43);
}
.dishes-txt span:nth-child(5){
	font-size: 20px;
}
.off{
	width: 14px;
	height: 14px;
	font: 12px/14px arial;
	background-color: rgb(204,204,204);
	outline: none;
	border: 0;
	border-radius: 50%;
	color: white;
	margin-left: 7%;
}
.specification-name{
	width: 95%;
	margin: 0 auto;
	font: 14px/30px arial;
}
.specification{
	width: 90%;
	height: 10%;
	display: flex;
	justify-content: space-around;
	align-items: center;
	margin: 0 auto;
}
.specification div{
	width: 30%;
	height: 80%;
	text-align: center;
	line-height: 40px;
	background-color: rgb(247,247,247);
}
.specification div:active{
	background-color: rgb(255,233,231);
	color: rgb(219,55,43);
}
.specification div:hover{
	background-color: rgb(255,233,231);
	color: rgb(219,55,43);
}
.count{
	float: right;
	margin:5% 10% 0 0;
}
#add,#dec{
	width: 20px;
	height: 20px;
	border-radius: 20%;
	background-color: white;
	border:1px solid rgb(219,55,43);
	outline-color: rgb(219,55,43);
}
#add:hover,#dec:hover,#add:active,#dec:active{
	background-color: rgb(219,55,43);
	color: white;
}

.choosed{
	width: 80%;
	height: 8%;
	border-radius:30%;
	background-color: rgb(219,55,43);
	color: white;
	border: 0;
	outline: none;
	position: absolute;
	bottom: 10%;
	left: 10%;
}


